package com.example.designpartten.publish;

import lombok.extern.slf4j.Slf4j;

/**
 * @author hql
 * @date 2020/4/8 17:26
 */
@Slf4j
public class ConSubject extends Subject {

    public void doSomething() {
       log.info("被观察者做了事");
       super.notifyObserver();
    }
}
